package com.fingard.dsp.bank.reqrespobj.billpool;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RequestBase;
import com.fingard.dsp.bank.reqrespobj.billpool.Detail.ReqBP008BillStateQryDetail;
import com.fingard.xml.XmlTextReader;

public class ReqBP008BillStateQry extends RequestBase {
    public ReqBP008BillStateQryDetail detail;
    private XmlTextReader xmlReader;

    public boolean readRecord() throws Exception {
        detail = null;
        if (xmlReader.read(PATH_Detail)) {
            detail = new ReqBP008BillStateQryDetail(xmlReader.readedXElement);
            return true;
        } else {
            return false;
        }
    }

    public ReqBP008BillStateQry(XmlTextReader p_xmlReader, ReqRespHeader p_header) {
        reqHeader = p_header;
        xmlReader = p_xmlReader;
    }
}
